const getters = {
  language: state => state.app.language,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  nickname: state => state.user.nickname,

  categories: state => state.goods.categories,
  goodsCategory: state => state.goods.filter.category,
  goodsSubCategory: state => state.goods.filter.subCategory,
}
export default getters
